package com.xxb.cassandra.entity;

import lombok.Data;
import org.springframework.data.cassandra.core.mapping.*;

import java.util.List;

/**
 * @author xixianbin
 * @version 1.0
 * @date 2021/8/9 8:59 上午
 */
@Data
@Table
public class City {

    @PrimaryKey
    private int id;
    private String name;
    private List<String> persons;

}
